package com.xc.shopping_font;

import com.xc.shopping_font.common.AlipayConfig;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = {"com.xc.shopping_font.mapper"})

@EnableConfigurationProperties({AlipayConfig.class})
//@ServletComponentScan
public class ShoppingFontApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingFontApplication.class, args);
    }

}
